package com.otupia.blog.dao;

import java.util.List;
import com.otupia.blog.model.Blog;

public interface BlogDao
{
	List<Blog> findBlogByWriter(long writerId);
	void insertBlog(Blog blog);
	Blog findBlogById(long id);
	void updateBlog(Blog blog);
	void deleteBlogById(long id);
	List<Blog> findBlogByTitle(String title);
}
